#include <REGX52.H>
#include "uart.c"
#include "game.h"
#include "display.c"
/**
 * 实现形状显示
 */
unsigned char type = 1;
unsigned char direction = 0;
unsigned int shape_data;

void main()
{
    uart_init();
    display_init();

    shape_data = TETRIS_SHAPES[type][direction];
    display_next_shape(shape_data);
    display_right_logo();
    display_pause();
    // display_speed_select_screen();
    // display_speed_select_num(8);
    while (1)
    {
    }
}